import requests

requests.packages.urllib3.disable_warnings()
proxies={
    'http': '127.0.0.1:7890',
    'https': '127.0.0.1:7890',
}
headers = {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0"
}
url = "https://flash-api.xuangubao.com.cn/api/pool/detail"
params = {
    "pool_name": "limit_up",
    "date": "2025-07-15"
}
response = requests.get(url, headers=headers, params=params,proxies=proxies,verify=False)
print(response.status_code)
print(response.json())
with open("history_data.json","w",encoding="utf-8") as f:
    f.write(response.text)
